package com.project.service.impl;

import com.project.bean.CountSellBean;
import com.project.mapper.ICountSellMapper;
import com.project.service.ICountSellService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;
@Service
public class CountSellServiceImpl implements ICountSellService {
    @Autowired
    private ICountSellMapper countSellMapper;
    @Override
    public List<CountSellBean> findByType(LocalDate startDate, LocalDate endDate) {
        return countSellMapper.findByType(startDate, endDate);
    }

    @Override
    public List<CountSellBean> findByproduct(LocalDate startDate, LocalDate endDate) {
        return null;
    }
}
